xen: arm: define 64-bit guest hypercall calling convention.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 12 Mar 2013 15:48:36 +0000 (15:48 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 11 Apr 2013 09:05:01 +0000 (10:05 +0100)
commitd1efb7702b0d112cf6e2f561aa60dc184642d525
tree5078f490a7ee538fc8e64bf1294c6d2a4d419327
parent1f749f78224078a3a1d7ae5d9bee45aea64b1e57
xen: arm: define 64-bit guest hypercall calling convention.

As well as using x<N> rather than r<N> registers for passing arguments/results
as mandate the use of x16 as the hypercall number.

Add some pedantry about struct alignment layout referencing the ARM Procedure
Calling Standard to avoid confusion with the previous "OABI" convention. While
at it also mandate that hypercall argument structs are always little endian.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/include/public/arch-arm.h